*{
    padding: 0; margin: 0;
}
html,body{
    font-size: 62.5%;
    background:#f5f5f5;
}
body {
    font:14px "Microsoft YaHei",Arial, Helvetica;
     color: #434343;
    -webkit-text-size-adjust:100%;
}
a{color:#333;text-decoration:none; transition:color .2s,background .2s;}
a:hover{text-decoration:none;}
em,i{font-style:normal; }
ol,ul,dl,li,dt,dd {list-style:none}
img {border:0;vertical-align:middle}
table {border-collapse:collapse;border-spacing:0} 

input {-webkit-appearance:none; /*去除input默认样式*/}

$blue:#6bd3ff;
$gray:#999999;
$ccc:#cccccc;
$cf0:#f0f0f0;
$footred:#e51c23;
$orange:#ff9d57;
$purple:#db8fff;

$red:#ee393e;
$btnred:#ff4242;
$borderColor:#dfdfdf;
$icongray:#cccccc;
$bigTitle:#434343;
$smallTitle:#676767;
$lightTitle:#959595;    //更浅的字体颜色
$bzTxt:#848484;
$txtcolor:#bababa;
$cf5:#f5f5f5;

@mixin flex{
    display: flex;
    display: -moz-flex;
    display: -webkit-flex;
}
@mixin flexcell{
    flex: 1;
    -moz-flex:1;
    -webkit-flex: 1;
}
@mixin mb10{
    margin-bottom: 1rem;
}
.mb5{
    margin-bottom: 0.5rem;
}
.mt5{
    margin-top: 0.5rem;
}
.ml5{
    margin-left: 0.5rem;
}
.mr5{
    margin-right: 0.5rem;
}
.mb10{
    margin-bottom: 1rem;
}
.mt10{
    margin-top: 1rem;
}
.ml10{
    margin-left: 1rem;
}
.mr10{
    margin-right: 1rem;
}
.plr10{
    padding: 0 1rem;
}
.dn{display: none;}
//底部导航条样式
.footerBox{
    @include flex;
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    z-index: 33;
    background:white;
    border-top: 1px solid $borderColor;
    padding: 0.6rem 0;
    a{
        @include flexcell;
        text-align: center;
        color: #bbbbbb;
        font-size: 1.2rem;
        i{
            width: 30px;
            height: 30px;
            display: inline-block;
            background-size: contain;
            background-repeat: no-repeat;
        }
        span{
            display: block;
        }
        &.active{
            color: $footred;
        }
    }
}
.icon-index{
    background-image: url(../img/index.png);
}
.icon-offline{
    background-image: url(../img/offline.png);
}
.icon-collect{
    background-image: url(../img/collect.png);
}
.icon-cart{
    background-image: url(../img/cart.png);
}
.icon-decorate{
    background-image: url(../img/decorate.png);
}
.icon-user{
    background-image: url(../img/user.png);
}
.footerBox a.active .icon-index{
    background-image: url(../img/index-active.png);
}
.footerBox a.active .icon-offline{
    background-image: url(../img/offline-active.png);
}
.footerBox a.active .icon-collect{
    background-image: url(../img/collect-active.png);
}
.footerBox a.active .icon-cart{
    background-image: url(../img/cart-active.png);
}
.footerBox a.active .icon-decorate{
    background-image: url(../img/decorate-active.png);
}
.footerBox a.active .icon-user{
    background-image: url(../img/user-active.png);
}

.font-right-family{     //向右符号字体样式-宋体
    font-family: simsun;
    margin-left: 0.2rem;
}

.goodFlex{
    @include flex;
    justify-content: space-between;
    .goodCell{
        flex: 1;
    }
    .goodCell2{
        flex: 2;
    }
}
/*
 * 超出两行省略号
 */
.text-overline2{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.icon-down{
    width: 15px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
    background: url(../img/downIcon.png) no-repeat;
    background-size: contain;
}
.icon-up{
    width: 15px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
    background: url(../img/downIcon.png) no-repeat;
    background-size: contain;
    transform:rotate(180deg);
    -ms-transform:rotate(180deg);     /* IE 9 */
    -moz-transform:rotate(180deg);    /* Firefox */
    -webkit-transform:rotate(180deg); /* Safari 和 Chrome */
}
.icon-filter{
    width: 15px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
    background: url(../img/filterIcon.png) no-repeat;
    background-size: contain;
}
